package com.xiaomi.eco.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaomi.eco.dal.entity.OFeedbackFlgEntity;
import com.xiaomi.eco.dal.req.TaskDetailReq;
import com.xiaomi.eco.dal.req.TaskEditReq;
import com.xiaomi.eco.dal.req.TaskQueryReq;
import com.xiaomi.eco.dal.res.TaskDetailRes;
import com.xiaomi.eco.dal.res.TaskQueryRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 92081
 * @description 针对表【o_feedback_flg(数据工厂fact_sq_feedback_flg原始数据)】的数据库操作Mapper
 * @createDate 2024-01-11 13:59:05
 * @Entity com.xiaomi.eco.dal.entity.OFeedbackFlgEntity
 */
@Mapper
public interface OFeedbackFlgEntityMapper extends BaseMapper<OFeedbackFlgEntity> {


    Page<TaskQueryRes> queryTaskTotalInfo(@Param("taskQueryReq") TaskQueryReq taskQueryReq, Page<TaskQueryRes> page);

    Page<TaskDetailRes> queryTaskDetailInfo(@Param("taskDetailReq") TaskDetailReq taskDetailReq, Page<TaskDetailRes> page);

    int batchUpdate(@Param("taskEditReqList") List<TaskEditReq> taskEditReqList);
}
